//
//  WaterFallModel.m
//  XFWaterfallFlowLayoutDemo
//
//  Created by yusaiyan on 17/4/22.
//  Copyright © 2017年 QunYu_TD. All rights reserved.
//

#import "WaterFallModel.h"

@implementation WaterFallModel

- (id)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        self.wat_pic = [dictionary valueForKey:@"img"];
        self.wat_picWidht = [[dictionary valueForKey:@"w"]floatValue];
        self.wat_picHeigth = [[dictionary valueForKey:@"h"]floatValue];
    }
    return self;
}

@end
